package com.gjs.management.pojo.dto.agreement;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;


@Data
@ApiModel("Agreement查询对象")
public class AgreementQueryDTO {

    @Min(value = 1,message = "协议ID必须为整数且不能小于1")
    @ApiModelProperty("协议ID")
    private Long id;

    @ApiModelProperty("协议名称")
    private String agreementName;
}
